﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Fsm
{
    
	public class FsmStateMonoBase<T> : IFsmState<T>
	{
		protected readonly T stateType;
		protected readonly FsmControllerBaseMono<T> controller;
		
		public T GetStateType()
		{
			return stateType;
		}
		
		public virtual void Enter()
		{
			
		}
		
		public FsmStateMonoBase(T stateType, FsmControllerBaseMono<T> controller)
		{
			this.stateType = stateType;
			this.controller = controller;
		}
		
		public virtual void Leave()
		{
			
		}
		
		public virtual void Update()
		{
			
		}
	}
}
